package com.roamer.rest.exception.suppert;

import com.roamer.rest.IErrorCode;
import com.roamer.rest.exception.BusinessException;

/**
 * 不支持的请求方法
 *
 * @author roamer
 * @version V1.0
 * @date 2019-07-17 17:56
 */
public class MethodNotSupportedException extends BusinessException {
    private static final long serialVersionUID = -5580339860312429487L;

    public MethodNotSupportedException() {
        super(IErrorCode.C40500);
    }

    public MethodNotSupportedException(Object data) {
        super(IErrorCode.C40500, data);
    }
}
